.buy-container {
    width: 100%;
    height: 100%;
  }
  
  .buy-main {
    display: flex;
    flex-direction: row;
    margin-top: 70px;
    margin-left: 150px;
    margin-right: 150px;
    height: 877px;
  }
  
  .buy-main-left {
    height: 100%;
    width: 75%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    overflow-y: auto;
  }
  
  .buy-main-right {
    flex: 1;
    margin-left: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #f9f9f9;
    height: 25%;
  }
  
  h3 {
    margin-bottom: 10px;
  }
  
  .goodsByCar {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
  
  .item-details {
    margin-left: 15px;
  }
  
  .buy-main-right button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .buy-main-right button:first-of-type {
    background-color: #ddd;
  }
  
  .buy-main-right button:last-of-type {
    background-color: #4CAF50;
    color: white;
  }
  
  .buy-main-right p {
    margin: 10px 0;
  }
  h3{
    margin-left: 20px;
  }
  
  .dialog-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .dialog {
      background: white;
      padding: 20px;
      border-radius: 5px;
      width: 700px;
      height: 500px;
    }
    .showPay-close-button{
      margin-left: 95%;
      cursor: pointer;
    }
    .dialog-top{
      height: 5%;
    }
    .dialog-min{
      height: 90%;
      border: 1px solid #ccc;
      display: flex;
      flex-direction: row;
    }
    .dialog-bot{
      height: 5%;
    }
    .confirmPay{
      margin-left: 40%;
      margin-top: 5px;
      cursor: pointer;
    }
    .dialog-min-left{
      width: 50%;
    }
    .dialog-min-right{
      width: 50%;
    }
    .wechatPay{
      width: 100%;
      height: 100%;
    }
    .aliPay{
      width: 100%;
      height: 100%;
    }